package com.yunxi.sto.pojo;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yunxi.core.web.DateJsonDeserializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 车辆发运单明细
 * </p>
 *
 * @author caoYong
 * @since 2019-05-30
 */
@Data
@ApiModel(value="StoTransportOrderDetail对象", description="车辆发运单明细")
public class StoTransportOrderDetailVO implements Serializable {

    @ApiModelProperty(value = "主键ID")
    private String transportOrderDetailId;

    @ApiModelProperty(value = "发运子单编号")
    private String transportOrderDetailNo;

    @ApiModelProperty(value = "发运单编号",required = true)
    private String transportOrderNo;

    @ApiModelProperty(value = "运输计划单号(PMS-TMS)")
    private String transportPlanNo;

    @ApiModelProperty(value = "SAP交货单号,一台车一个交接单号(PMS-TMS)")
    private String vbeln;

    @ApiModelProperty(value = "车辆VIN码")
    private String vin;

    @ApiModelProperty(value = "'运输计划下达日期'")
    @JsonDeserialize(using = DateJsonDeserializer.class)
    private Date planSendTime;

    @ApiModelProperty(value = "创建时间")
    @JsonDeserialize(using = DateJsonDeserializer.class)
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "修改时间")
    @JsonDeserialize(using = DateJsonDeserializer.class)
    private Date updateTime;

    @ApiModelProperty(value = "修改人")
    private String updateBy;

    @ApiModelProperty(value = "车辆在途状态(L在线,O离线)")
    private String status;

    @ApiModelProperty(value = "车辆当前位置")
    private String location;

    @ApiModelProperty(value = "当前经度")
    private String lng;

    @ApiModelProperty(value = "当前纬度")
    private String lat;

    @ApiModelProperty(value = "定位时间")
    private Date locationTime;

    @ApiModelProperty(value = "到店时间")
    private Date arriveTime;

    @ApiModelProperty(value = "签收人")
    private String signatory;

    @ApiModelProperty(value = "签收人电话")
    private String signatoryTel;

    @ApiModelProperty(value = "内饰颜色名称")
    private String colorNameIn;

    @ApiModelProperty(value = "外饰颜色名称")
    private String colorNameOut;

    @ApiModelProperty(value = "型谱名称")
    private String productName;

    @ApiModelProperty(value = "渠道商是否入库(0否,1是)")
    private Integer isStockIn;

    @ApiModelProperty(value = "入库日期")
    private Date stockInDate;

    @ApiModelProperty(value = "入库操作人")
    private String stockInUser;

    @ApiModelProperty(value = "入库PDI图片")
    private String pdiPicPath;

    @ApiModelProperty(value = "小车道次")
    private String carRoad;

}
